package com.bwie.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 库存表
 * @TableName tb_stock
 */
@TableName(value ="tb_stock")
@Data
public class TbStock implements Serializable {
    /**
     * 库存ID
     */
    @TableId(type = IdType.AUTO)
    private Integer stockId;

    /**
     * 商品ID
     */
    private Integer prodId;

    /**
     * 库存数量
     */
    private Integer prodCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}